]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Use font-relative width for prompts
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 1 May 2017 10:49:55 +0000 (12:49 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 5 May 2017 09:27:29 +0000 (11:27 +0200)
The usual expectation when selecting large fonts is for content to
be bigger, not that less content is displayed. While not always
possible, there's no reason not to scale modal dialogues with the
font size.

https://bugzilla.gnome.org/show_bug.cgi?id=782000

data/theme/gnome-shell-high-contrast.css
data/theme/gnome-shell-sass
data/theme/gnome-shell.css

index ed003f45147d691d82cf4a8dc319c091693e44e7..b899b5433779ca7c4a69346265dd0478b32a6697 100644 (file)
@@ -300,7 +300,7 @@ StScrollBar {
   padding-bottom: 6px; }
 
 .mount-question-dialog-subject {
-  max-width: 500px; }
+  max-width: 34em; }
 
 .show-processes-dialog-subject:rtl,
 .mount-question-dialog-subject:rtl {
@@ -345,7 +345,7 @@ StScrollBar {
 
 /* Password or Authentication Dialog */
 .prompt-dialog {
-  width: 500px;
+  width: 34em;
   border: 3px solid rgba(238, 238, 236, 0.2); }
 
 .prompt-dialog-main-layout {
@@ -1010,9 +1010,9 @@ StScrollBar {
 
 /* NETWORK DIALOGS */
 .nm-dialog {
-  max-height: 500px;
-  min-height: 450px;
-  min-width: 470px; }
+  max-height: 34em;
+  min-height: 31em;
+  min-width: 32em; }
 
 .nm-dialog-content {
   spacing: 20px;
index e94bce1fcfbcbe00f6a6375e992192c9e1a4ffb5..b0640081e72fa96cd9e54e794e1cad45350ef232 160000 (submodule)
@@ -1 +1 @@
-Subproject commit e94bce1fcfbcbe00f6a6375e992192c9e1a4ffb5
+Subproject commit b0640081e72fa96cd9e54e794e1cad45350ef232
index 90aef50615d15d7a8b7bab33e5b96cf24a1afd4b..3896c99be5f000678a9dc5d0ddcc112b030d6aa2 100644 (file)
@@ -300,7 +300,7 @@ StScrollBar {
   padding-bottom: 6px; }
 
 .mount-question-dialog-subject {
-  max-width: 500px; }
+  max-width: 34em; }
 
 .show-processes-dialog-subject:rtl,
 .mount-question-dialog-subject:rtl {
@@ -345,7 +345,7 @@ StScrollBar {
 
 /* Password or Authentication Dialog */
 .prompt-dialog {
-  width: 500px;
+  width: 34em;
   border: 3px solid rgba(238, 238, 236, 0.2); }
 
 .prompt-dialog-main-layout {
@@ -1010,9 +1010,9 @@ StScrollBar {
 
 /* NETWORK DIALOGS */
 .nm-dialog {
-  max-height: 500px;
-  min-height: 450px;
-  min-width: 470px; }
+  max-height: 34em;
+  min-height: 31em;
+  min-width: 32em; }
 
 .nm-dialog-content {
   spacing: 20px;